package com.jy.api.signUpReq.stock;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by lihu on 2018/2/1.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ModifyFormatSignUpReq {

    @NotNull(message = "参数错误")
    private String productId;

    @Min(value = 1, message = "规格最小数量为1")
    private int stockQuantityRatio;

}
